import React from 'react';

export class Demo extends React.Component {
    render() {
        const { match, location } = this.props;
        console.log(match);
        console.log(location);
        const { params: { id } } = match;
        return <h3>子路由 参数:{id}</h3>;
    }
}